home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93b.txt / 000059_icon-group-sender _Wed May 5 03:34:42 1993.msg < prev    next >
Internet Message Format  |  1993-06-16  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Wed, 5 May 1993 05:24:23 MST
  2. Via: uk.ac.manchester.computer-science; Wed, 5 May 1993 11:11:47 +0100
  3. From: Steve Holden <steve@dtc.co.uk>
  4. Date: Wed, 5 May 93 10:05:31 BST
  5. Message-Id: <4052.9305050905@desktop.desktop.co.uk>
  6. To: icon-group@cs.arizona.edu
  7. Subject: Re: Icon fan club ...
  8. Status: R
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10.  
  11. Richard l. Goerwitz (goer@midway.uchicago.edu) writes:
  12.  
  13. > I am not sure what you're talking about when it comes to {}, except in
  14. > the sense that {} can always be used to group a code block, just as in
  15. > C.  Automatic semicolon insertion is also an interesting issue.  Most
  16. > inveterate Icon programmers find it silly to have to insert a semicolon
  17. > after every line.  We mainly use the semicolon to separate two expres-
  18. > sions abutted on the same line.  Generally it is lacking from idiomatic
  19. > Icon code, and with good reason:  It is generally superfluous even in
  20. > languages that force one to use it!
  21.  
  22. Personally my only problem with the {} braces is that I can't make
  23. declarations inside the code blocks they enbrace.  This tends to clutter
  24. up the larger procedures with declarations for locals which are only used
  25. with limited scope.
  26.  
  27. Not knowing the guts of the systems I'm not sure how easy it would be to
  28. alter Icon's syntax and semantics.  Would this be a reasonable request
  29. for enhancement?
  30.  
  31. regards
  32.  Steve
  33.  +---------------------------------+-------------------------------------+
  34.  | Steve Holden, Technical Director| Desktop Connection Limited          |
  35.  | steve@desktop.co.uk             | Manchester Science Park             |
  36.  |---------------------------------+ Lloyd Street North                  |
  37.  | Publish and be damned. Publish  | Manchester England M15 4EN          |
  38.  | electronically and be heard.    | Tel: +44 61 227 9055 Fax: 226 4922  |
  39.  +---------------------------------+-------------------------------------+
  40.